<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<script type="text/javascript">
	var grade = prompt('请输入你的分数');

	if(grade>90){
		alert('火云学神');
	}else if(grade>80){
		alert('学霸！');
	}else if(grade>70){
		alert('学混');
	}else if(grade>=60){
		alert('学痞');
	}else if(grade>50){
		alert('学渣');
	}else if(grade>30){
		alert('学不下去')
	}else if(grade>10){
		alert('学不进去!');
	}else{
		alert('希望拥有美好的未来！');
	}




	// 双路分支
	// if(grade>=60){
	// 	alert('及格啦！');
	// }else{
	// 	alert('不及格！');
	// }

	// 单路分支
	// if(grade>=60){
	// 	alert('及格啦！');
	// }
</script>
</head>

<body>
</body>
</html>
